package com.tjetc.service;

import com.tjetc.domain.Health;
import com.tjetc.domain.Newborn;
import com.tjetc.domain.Parent;
import com.tjetc.domain.Vaccination;
import com.tjetc.vo.Result;

import java.util.List;

public interface ParentService {
    public Result add(Parent parent);
    public Result update(Parent parent);
    public Result delete(int id);
    public Parent getParentById(int id);

    Result add1(Parent parent);

    Result findByNameAP(Parent parent);

    List<Newborn> sel2(int parentId);

    List<Health> serch1(int parentId);

    List<Vaccination> selY(int parentId);

    Result upd(String password2, int parentId);

    Parent findBI(int id);
}
